﻿@{
    ViewBag.Title = "教程库";
}
@Styles.Render("~/Content/PageHandler.css")
@Scripts.Render("~/Scripts/jQuery.tmpl.min.js")
@Scripts.Render("~/Scripts/pageHandler.js")
@Scripts.Render("~/Scripts/m_script/pageHandler.js")
<script type="text/x-jquery-tmpl" id="tmp">
          <li><a href="/TechLib/Detail/${ID}" target="_blank" title="${Name}">
                        <img src="${CoverUrl}" width="200" height="150" /><br />
                        <span>${Name}</span></a></li>
</script>
<script type="text/javascript">
    var c_page = "techlib";
    var page = new pageHandler({ pageID: "divPage", url: "/AjaxRequest/GetTechList", tmplID: "tmp", contentID: "uContent" }, {})
    $(document).ready(function () {
        page.pageInit();
        $(".a_classify").click(function () {
            var type = $(this).attr("title");
            page.urldata = { type: type };
            page.pageInit();
            return false;
        });
    });
</script>
<!-- flash开始-->
<div class="flashshow">
    <img src="/images/neiye.jpg" width="980" height="200" />
</div>
<!-- flash结束-->
<!--主体部分开始-->
<div id="w980a" class="p10">
    <!--主体部分一-->
    <div class="allsidebar fl">
        <h3>
            教程分类<span>TUTORIAL classify</span></h3>
        <div class="allsidebarinner">
            <ul class="classify-ul">
                @foreach (var o in ViewBag.TypeList as IEnumerable<MyPSDALayer.TechType>)
                { 
                    <li><a class="a_classify" href="#"  title="@o.TypeName">@o.TypeName</a></li> 
                }
            </ul>
            <div class="contactus">
                <h3>
                    联系我们<span>CONTACT us</span></h3>
                <div class="contactusinner">
                    <span>工作时间：9:00-18:00</span><br />
                    <span>服务电话：15883827208</span><br />
                    <span>客服Q Q：249846170</span><br />
                    <span>Email：91ps@163.com</span><br />
                    <a target="_blank" href=" http://wpa.qq.com/msgrd?v=3&uin=249846170号&site=qq&menu=yes">
                        <img border="0" src="images/ptu.jpg" alt="点击这里给我发消息" title="点击这里给我发消息" class="p10"></a>
                </div>
            </div>
        </div>
    </div>
    <div class="allmaincontent fl">
        <h3>
            优秀教程<span>EXCELLENT tutorial</span></h3>
        <div class="allmaincontentinner">
            <div class="allcaseinner">
                <ul id="uContent">
                </ul>
            </div>
            <div id="divPage" class="page">
            </div>
        </div>
        <div class="yourposition">
            当前位置：<a href="">主页</a>&nbsp;&gt;&nbsp;<a href="">优秀教程</a>&nbsp;&gt;&nbsp;<span style="color: red">所有教程</span></div>
    </div>
</div>
<!--主题部分结束-->
